
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme()
            + "://"
            + request.getServerName()
            + ":"
            + request.getServerPort()
            + request.getContextPath()
            + "/";

    pageContext.setAttribute("basePath",basePath);
%>

<!--写base标签，永远固定相对路径跳转的结果-->
<base href="<%=basePath%>">
<link type="text/css" rel="stylesheet" href="static/css/style.css" >
<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
<script type="text/javascript">
    $(function () {
        $("a.deleteClass").click(function () {
            return confirm("你确定要删除【" + $(this).parent().parent().find("td:first-child").text() + " " +
                $(this).parent().parent().find("td:nth-child(2)").text() + "】?");
        });
    });

</script>
<style type="text/css">
    .left{
        float:left;
        margin-top: 50px;
        margin-left: 50px;
        border: 1px cadetblue solid;
        padding: 10px;
    }
    .right{
        float:left;
    }
</style>
<div id="header">
    <h1>龙门镖局宠物物流后台管理系统</h1>
    <a style="float: right; padding-right: 20px"  href="userServlet?action=lgout" >退出</a>

    <form class="form" action="client/complexServlet?action=search" method="post">
        <input type="text" name="search">
        <input type="submit" value="search">

    </form>
</div>

<div class="toolbar">
    <ul>
        <li><a href="client/petServlet?action=list">宠物</a></li>
        <li><a href="client/orderServlet?action=list">订单</a> </li>
        <li><a href="client/customerServlet?action=list">用户</a></li>
        <li><a href="client/staffServlet?action=list">员工</a></li>
        <li><a href="client/carServlet?action=list">运输工具</a></li>
    </ul>
</div>
